<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>书店 - 首页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        h1 {
            color: #333;
        }
        form {
            max-width: 400px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        input[type="text"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        input[type="submit"] {
            background-color: #4CAF50;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        input[type="submit"]:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
<h1>欢迎来到书店</h1>
<form action="/alipay/createOrder" method="post">
    <label for="outTradeNo">订单号:</label>
    <input type="text" id="outTradeNo" name="outTradeNo" required>

    <label for="totalAmount">金额:</label>
    <input type="text" id="totalAmount" name="totalAmount" required>

    <label for="subject">商品名称:</label>
    <input type="text" id="subject" name="subject" required>

    <input type="submit" value="支付">
</form>
</body>
</html>